package com.lnsf.bookstore.system.advertise.dao;

import com.lnsf.bookstore.system.advPosition.vo.AdvPosition;
import com.lnsf.bookstore.system.advertise.vo.Advertise;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface AdvertiseMapper {
    int deleteByPrimaryKey(Integer advId);

    int insert(Advertise record);

    int insertSelective(Advertise record);

    Advertise selectByPrimaryKey(Integer advId);

    int updateByPrimaryKeySelective(Advertise record);

    int updateByPrimaryKey(Advertise record);

    List<Advertise> selectAll();
}